package cn.tedu.service;

import cn.tedu.common.pojo.authentication.CurrentPrincipal;
import cn.tedu.pojo.param.UserDetailsParam;
import cn.tedu.pojo.vo.UserDetailsVO;

public interface IUserDetailsService {
    int insert(CurrentPrincipal currentPrincipal, UserDetailsParam userDetailsParam);

    UserDetailsVO getStandard(Long userId);

    void updateInfo(Long userId, UserDetailsParam userDetailsParam);

    void updateUserUrl(Long userId, String userUrl);

    void updatePhoneNumber(Long userId, String phoneNumber);

    void updateEmail(Long userId, String email);
}
